package cn.lanca.gof0_5._05builder.case2.builder;

import com.example.demo.gof0_5._05builder.case2.product.Parlour;

/**
 * 抽象建造者：装修工人
 *
 * @author meihongliang
 * @since 2020/8/7 17:05
 */
public abstract class Decorator {
    /**
     * 创建产品对象
     */
    protected Parlour product = new Parlour();

    public abstract void buildWall();

    public abstract void buildTV();

    public abstract void buildSofa();

    //返回产品对象
    public Parlour getResult() {
        return product;
    }
}
